'''
Created on 25/apr/09

@author: Riccardo Cagnasso
'''
from google.appengine.ext import db
from Datastore.Ticket.Ticket import Ticket

class Entry(db.Model) :
    ticket = db.ReferenceProperty(Ticket,collection_name="entries")
    author = db.UserProperty(required=True)
    content = db.StringProperty(multiline=True)
    date = db.DateTimeProperty(auto_now_add=True)